package com.zh.service;

import com.zh.pojo.domain.OrderProfitsharing;
import com.zh.pojo.domain.ProfitsharingRuleBase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.pojo.result.ProfitSharingResult;
import com.zh.remote.pojo.param.DriverSummaryResult;

import java.math.BigDecimal;

/**
 * <p>
 * 司机抽成基础比例 服务类
 * </p>
 *
 * @author 初四
 * @since 2024-07-06
 */
public interface IProfitsharingRuleBaseService extends IService<ProfitsharingRuleBase> {

    ProfitSharingResult DividendCalculation(BigDecimal realAmount, DriverSummaryResult summary);
}
